//*****************************************************************************
//
// Copyright, (C) 2000-2005 Quantic Dream SA
//
// These coded instructions, statements and computer programs contain
// unpublished information, proprietary to Quantic Dream SA and are 
// protected by French and EEC copyright laws. They may not be 
// disclosed to third parties or copied or duplicated, in whole or in part, 
// without prior written consent of Quantic Dream SA
//
// Unpublished-rights reserved under the Copyright Laws of the EEC.
//
//*****************************************************************************
//
//	CLASS:	TRANSFORM
//
//	JJA : 2012-07-23 - Created
//*****************************************************************************

#include	"Transform.h"

//=============================================================================
//	CODE STARTS HERE
//=============================================================================

//-----------------------------------------------------------------------------
//! @brief		TRANSFORM constructor
//! @details		
//! @param		
//! @return		
//! @author		JJA : 2012-07-23
//-----------------------------------------------------------------------------
TRANSFORM::TRANSFORM()
: _mLocalMatrix	( MATRIX4::identity() )
, _mWorldMatrix	( MATRIX4::identity() )
{
	
}

//-----------------------------------------------------------------------------
//! @brief		TRANSFORM destructor
//! @details		
//! @param		
//! @return		
//! @author		JJA : 2012-07-23
//-----------------------------------------------------------------------------
TRANSFORM::~TRANSFORM()
{
	
}

//-----------------------------------------------------------------------------
//! @brief		SetWorldMatrix
//! @details		
//! @param		
//! @return		
//! @author		JJA : 2012-07-23
//-----------------------------------------------------------------------------
void	TRANSFORM::SetWorldMatrix( const MATRIX4& mWorldMatrix )
{
	_mWorldMatrix = mWorldMatrix;
}

//-----------------------------------------------------------------------------
//! @brief		GetWorldMatrix
//! @details		
//! @param		
//! @return		
//! @author		JJA : 2012-07-23
//-----------------------------------------------------------------------------
const MATRIX4&	TRANSFORM::GetWorldMatrix() const
{
	return	( _mWorldMatrix );
}

//=============================================================================
//	CODE ENDS HERE
//=============================================================================
